package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.UserOrganizaSchoolType;
import com.study.manage.domain.enumm.UserOrganizaType;
import com.study.manage.domain.enumm.VerifyState;

@Entity
@Table(name = "sa_user_organiza")
public class UserOrganiza extends AbstractEntity {

    private static final long serialVersionUID = 2279555290509998327L;

    public Long userId;
    public Long regUserId;
    public String salt;
    public String hashPassword;
    public String name;
    public String tags;
    @Column(name = "typee")
    public UserOrganizaType type = UserOrganizaType.Work;
    public String fullName;
    public String mailAddress;
    public String idName;
    public String idNumber;
    public String idImg1;
    public String idImg2;
    public String idImg3;
    public String idImg4;
    public UserOrganizaSchoolType schoolType = UserOrganizaSchoolType.BXXK;
    public String licenseNumber;
    public String licenseImg;
    public String payAccount;
    public String payName;
    public String email;
    public VerifyState state = VerifyState.Waiting;
    public String why;

    public UserOrganiza() {

    }

    public UserOrganiza(Long id) {
        this.id = id;
    }
}
